package shajie.shajun.mmhf.Bean;

import java.util.List;

import shajie.shajun.mmhf.Interface.ItemViewType;

/**
 * Created by admin on 2017/11/21.
 */

public class Beans<T> implements ItemViewType {
    private int layoutid;
    private List<T> bean;
    public Beans(int layoutid,List<T> t) {
        this.layoutid=layoutid;
        this.bean=t;
    }
    @Override
    public int getItemViewType() {
        return layoutid;
    }

    public List<T> getBean() {
        return bean;
    }

    public void setBean(List<T> bean) {
        this.bean = bean;
    }
}
